
#include "stdafx.h"
#include "ui_graphicview.h"


#include "wf_default.h"
#include "pf_settings.h"

#include "ui_applicationwindow.h"

UI_GraphicView::UI_GraphicView(PF_Document* doc, QWidget* parent)
        :WF_GraphicView(parent, "graphicview") {

    PF_DEBUG->print("QC_GraphicView::QC_GraphicView()..");

    PF_DEBUG->print("  Setting Container..");
    if (doc!=NULL) {
        setContainer(doc);
    }
    PF_DEBUG->print("  container set.");
    setFactorX(4.0);
    setFactorY(4.0);
    setOffset(50, 50);
    setBorders(10, 10, 10, 10);
	
	if (doc!=NULL) {
		setDefaultAction(new WF_Default(*doc, *this));
	}
}


UI_GraphicView::~UI_GraphicView() {
}

// EOF
